# a=9/0
a = [0, 1, 2, 3]
try:
    # a = 9 / 0
    b = a[9]
except:
    print('除零错误')
# except(IndexError):
#     print('下标越界')
else:
    print('ok')
